home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gnu / readme.dos < prev   
Text File  |  1996-01-30  |  2KB  |  67 lines

  1. This is the README file from the DOS binary distribution of GNAT 2.00.  
  2.  
  3. Now that you've unzipped the distribution files, you need to set a few 
  4. environment variables and reboot before compiling.
  5.  
  6. Merge these into your AUTOEXEC.BAT
  7. ----------------------------------
  8. SET TZ=EST5EDT
  9. set PATH=c:\djgpp\bin
  10. set TMPDIR=c:/djgpp/tmp
  11. set GO32TMP=c:/djgpp/tmp
  12. set GO32=topline c:/djgpp/drivers/vga.grd gw 640 gh 480
  13. set DJGPP=c:/djgpp/djgpp.env
  14. set ADA_INCLUDE_PATH=c:/djgpp/adainc
  15. set ADA_OBJECTS_PATH=c:/djgpp/lib/adalib
  16. ----------------------------------------
  17.  
  18. If you don't have a math coprocessor you should substitute the above "set GO32"
  19. line with the following:
  20. set GO32=topline emu c:/djgpp/bin/emu387 c:/djgpp/drivers/vga.grd gw 640 gh 480
  21.  
  22. GNAT needs lots of "real" DOS memory in order to run, i.e. the memory below 
  23. 640K.  I have 617K available and everything runs fine.  To make things run
  24. faster, I also recommend using "SMARTDRV.SYS" or an equivalent.
  25.  
  26. Important note: Some people have reported that their machine "locks up" if
  27. they don't have an expanded memory manager loaded, i.e. EMM386.SYS.
  28.  
  29. Here is a sample CONFIG.SYS:
  30.  
  31. shell=c:\command.com /p /e:1024
  32. DEVICE=C:\DOS\EMM386.SYS
  33. DEVICE=C:\DOS\HIMEM.SYS
  34. DEVICE=C:\DOS\SMARTDRV.SYS 1024
  35. DOS=HIGH
  36. FILES=30
  37. buffers=30
  38.  
  39. Features and gnatinfo.txt talk about GNU NYU Ada Translator (GNAT).
  40.  
  41. As of this release you don't have to run coff2exe after running gnatbl, it
  42. is done for you automatically, and removes the unneeded coff file.  If you
  43. want it back for debugging, etc. do: exe2coff <myprog>.exe.
  44.  
  45. REPORTING BUGS:
  46.  
  47. Send bug reports to gnat-report@cs.nyu.edu.
  48. Send djgpp bug reports to djgpp@sun.soe.clarkson.edu.
  49.  
  50. EXAMPLES
  51.  
  52. The examples directory contains simple examples.  To get started, do:
  53. "cd examples" and then "make".
  54.  
  55. USE
  56.  
  57. Using GNAT is documented in gnatinfo.txt.
  58.  
  59. The -k8 switch is the default with the DOS compiler, you need not specifically 
  60. use it on the command line.  This default krunches file names to 8 characters.
  61.  
  62. Read gnatinfo.txt to learn how to compile and link.
  63.  
  64. Read features to find out what's implemented and what's not.
  65.  
  66. If you have any problems, please send email to "gnat-report@cs.nyu.edu"
  67.